package com.oig.sys.workflow.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;

import java.util.Date;

@Schema
@Data
public class CronJobLogVo {

	@Schema(description = "id")
	private Integer id;
	@Schema(description = "任务id")
	private Integer jobId;
	@Schema(description = "执行时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date executeTime;
	@Schema(description = "执行时长")
	private Integer executeDuration;
	@Schema(description = "执行结果")
	private String executeResult;
	@Schema(description = "执行返回信息或异常信息")
	private String executeMsg;


	@Schema(description = "web_hook调用状态")
	private String webHookStatus;
	@Schema(description = "通知状态")
	private String notifyStatus;

	@Schema(description = "所属租户id")
	private Integer tenantId;
	@Schema(description = "所属租户名称")
	private String tenantName;
}
